home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
CIncludes
/
HIPanels.xh
< prev
next >
Wrap
Text File
|
1996-05-01
|
32KB
|
1,123 lines
/*
* This file was generated by the SOM Compiler.
* FileName: HIPanels.xh.
* Generated using:
* SOM Precompiler somipc: 2.18
* SOM Emitter emitxh.dll: 2.33
*/
#ifndef SOM_HIPanel_xh
#define SOM_HIPanel_xh
class HIPanel;
#define HIPanel_MajorVersion 0
#define HIPanel_MinorVersion 0
/*
* Passthru lines: File: "C.xh", "before"
*/
#include <Collections.h>
#include <Drag.h>
#include <Quickdraw.h>
#include <TextObjects.h>
#include <Types.h>
#include <HIPanelTypes.h>
/* C++ SOM defs */
#include <somcls.xh>
#include <somcm.xh>
/* C++ parent defs */
#ifndef SOM_HIObject_xh
#include <HIObjects.xh>
#endif
#ifndef HIPanel_API
#define HIPanel_API
/*
* -- The Class API
*/
/*
* Start of user-defined types:
*/
class SOMClass;
class SOMObject;
class HIWindow;
class HIEmbeddingPanel;
/*
* End of user-defined types.
*/
#ifdef OLDIBMSOMAPISUPPORT
#define HIPanelCClassData HIPanelClassData
#define HIPanelNewClass(major,minor) somNewVersionedClassReference(HIPanel,major,minor)
#endif
/* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
#define HIPanelMetaClass SOMClass
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=power
#endif
/* The API to the HIPanel class object, and the methods it introduces. */
SOMEXTERN struct HIPanelClassDataStructure {
#ifdef OLDIBMSOMAPISUPPORT
SOMClass *classObject; /* always zero, use somNewClassReference instead */
#else
long zero;
#endif
somStaticClassInfo *sci;
somDToken instanceDataToken;
long reserved [3];
somMToken InitPanel;
somMToken GetEmbeddingParent;
somMToken RegisterInterestInAppleEvent;
somMToken SetAdornment;
somMToken GetAdornment;
somMToken HasValidContent;
somMToken GetDeepCollectionItemData;
somMToken reserved0;
somMToken reserved1;
somMToken reserved2;
somMToken reserved3;
somMToken reserved4;
} SOMDLINK HIPanelClassData;
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=reset
#endif
#if !defined(HIPanel_Class_Source) && !defined(SOM_Module_hipanels_Source)
#if PRAGMA_IMPORT_SUPPORTED
#pragma import list HIPanelClassData
#endif
#endif
/*
* -- Typedefs for HIPanel Method Procedures
*/
SOMEXTERN {
typedef HIEmbeddingPanel* (* SOMLINK somTD_HIPanel_GetEmbeddingParent)(HIPanel *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIPanel_InitPanel)(HIPanel *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds);
typedef OSStatus (* SOMLINK somTD_HIPanel_RegisterInterestInAppleEvent)(HIPanel *somSelf, Environment *ev,
AEHandlerTableRef table,
AEEventClass eventClass,
AEEventID eventID,
HIEventRoutingType eventRouting);
typedef boolean (* SOMLINK somTD_HIPanel_HasValidContent)(HIPanel *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIPanel_GetDeepCollectionItemData)(HIPanel *somSelf, Environment *ev,
CollectionTag tag,
SInt32 id,
ByteCount sizeAllowed,
ByteCount* sizeReturned,
void* itemData);
/*
* -- Typedefs for Inherited Methods
*/
typedef HIWindow* (* SOMLINK somTD_HIPanel_GetWindow)(HIPanel *somSelf, Environment *ev);
typedef CGrafPtr (* SOMLINK somTD_HIPanel_GetPort)(HIPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIPanel_GetRefLabel)(HIPanel *somSelf, Environment *ev,
RefLabel* identifier);
typedef Collection (* SOMLINK somTD_HIPanel_GetCollection)(HIPanel *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIPanel_Init)(HIPanel *somSelf, Environment *ev,
RefLabel* identifier,
Rect* boundingRect);
typedef void (* SOMLINK somTD_HIPanel_Terminate)(HIPanel *somSelf, Environment *ev);
typedef HIObject* (* SOMLINK somTD_HIPanel_Clone)(HIPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIPanel_Release)(HIPanel *somSelf, Environment *ev);
typedef ItemCount (* SOMLINK somTD_HIPanel_GetOwnerCount)(HIPanel *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIPanel_InitFromAERecord)(HIPanel *somSelf, Environment *ev,
AESubDesc* baseInitializerData,
AESubDesc* initializerDataForClass,
HIAERecordDataFormat dataFormat);
typedef OSStatus (* SOMLINK somTD_HIPanel_WriteToAERecord)(HIPanel *somSelf, Environment *ev,
AERecord* dataForSubclass,
AERecord* objectData,
HIAERecordDataFormat dataFormat);
typedef void (* SOMLINK somTD_HIPanel_CalculateOptimalSize)(HIPanel *somSelf, Environment *ev,
SInt16* optimalWidth,
SInt16* optimalHeight);
typedef void (* SOMLINK somTD_HIPanel_GetBoundingRect)(HIPanel *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* boundingRect);
typedef void (* SOMLINK somTD_HIPanel_SetBoundingRect)(HIPanel *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* newBoundingRect);
typedef void (* SOMLINK somTD_HIPanel_SetPosition)(HIPanel *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Point* newPosition);
typedef void (* SOMLINK somTD_HIPanel_SetSize)(HIPanel *somSelf, Environment *ev,
SInt16 width,
SInt16 height);
typedef void (* SOMLINK somTD_HIPanel_GetUpdateRect)(HIPanel *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* updateRect);
typedef void (* SOMLINK somTD_HIPanel_Enable)(HIPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIPanel_Disable)(HIPanel *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIPanel_IsEnabled)(HIPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIPanel_Show)(HIPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIPanel_Hide)(HIPanel *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIPanel_IsVisible)(HIPanel *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIPanel_HandleAppleEvent)(HIPanel *somSelf, Environment *ev,
AEEventClass eventClass,
AEEventID eventID,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIPanel_HandleActivate)(HIPanel *somSelf, Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIPanel_HandleDeactivate)(HIPanel *somSelf, Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIPanel_HandleNavigation)(HIPanel *somSelf, Environment *ev,
SInt8 key,
SInt8 keyCode,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIPanel_HandleMouseDownInContent)(HIPanel *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIPanel_HandleMouseMovedInContent)(HIPanel *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIPanel_HandleMouseStoppedMovingInContent)(HIPanel *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIPanel_HandleMouseUpInContent)(HIPanel *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef void (* SOMLINK somTD_HIPanel_TakeUserInputFocus)(HIPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIPanel_ReleaseUserInputFocus)(HIPanel *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIPanel_HasUserInputFocus)(HIPanel *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIPanel_CanReleaseUserInputFocus)(HIPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIPanel_SetUserInputFocusFlags)(HIPanel *somSelf, Environment *ev,
HIUserInputFocusFlags flags);
typedef HIUserInputFocusFlags (* SOMLINK somTD_HIPanel_GetUserInputFocusFlags)(HIPanel *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIPanel_SetTitle)(HIPanel *somSelf, Environment *ev,
ConstHIImageRef title,
HIAdoptionFlags disposalAdoptionFlags);
typedef OSStatus (* SOMLINK somTD_HIPanel_GetTitle)(HIPanel *somSelf, Environment *ev,
HIImageRef* title);
typedef void (* SOMLINK somTD_HIPanel_Draw)(HIPanel *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn);
typedef void (* SOMLINK somTD_HIPanel_Erase)(HIPanel *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle eraseRgn);
typedef void (* SOMLINK somTD_HIPanel_Invalidate)(HIPanel *somSelf, Environment *ev);
typedef HIDrawingMode (* SOMLINK somTD_HIPanel_GetDrawingMode)(HIPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIPanel_SetDrawingMode)(HIPanel *somSelf, Environment *ev,
HIDrawingMode drawingMode);
typedef void (* SOMLINK somTD_HIPanel_SetBackgroundPattern)(HIPanel *somSelf, Environment *ev,
PixPatHandle backgroundPattern);
typedef PixPatHandle (* SOMLINK somTD_HIPanel_GetBackgroundPattern)(HIPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIPanel_Cut)(HIPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIPanel_Copy)(HIPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIPanel_Paste)(HIPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIPanel_Clear)(HIPanel *somSelf, Environment *ev);
typedef HIClipboardSupportFlags (* SOMLINK somTD_HIPanel_GetClipboardSupportFlags)(HIPanel *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIPanel_AddStateChangeCallback)(HIPanel *somSelf, Environment *ev,
HIStateChangeCallbackProcPtr changedStateCallback,
HIStateChangeCallbackRef* newCallbackRef);
typedef OSStatus (* SOMLINK somTD_HIPanel_RemoveStateChangeCallback)(HIPanel *somSelf, Environment *ev,
HIStateChangeCallbackRef callbackRefToRemove);
typedef OSStatus (* SOMLINK somTD_HIPanel_GetHIObjectFromRefLabel)(Environment *ev,
RefLabel* identifier,
ItemCount requestedObjects,
ItemCount* totalObjects,
HIObject** theObjects);
typedef OSStatus (* SOMLINK somTD_HIPanel_GetNewHIObject)(Environment *ev,
AESubDesc* objectInitializer,
HIObject** newObject);
typedef OSStatus (* SOMLINK somTD_HIPanel_GetNewHIObjectFromResource)(Environment *ev,
ResID objectInitializerResourceID,
HIObject** newObject);
typedef void (* SOMLINK somTD_HIPanel_DrawContent)(HIPanel *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn);
typedef void (* SOMLINK somTD_HIPanel_EraseContent)(HIPanel *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle regionToErase);
typedef void (* SOMLINK somTD_HIPanel_TranslatePoint)(HIPanel *somSelf, Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Point* sourcePoint,
Point* translatedPoint);
typedef void (* SOMLINK somTD_HIPanel_TranslateRect)(HIPanel *somSelf, Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Rect* sourceRect,
Rect* translatedRect);
typedef void (* SOMLINK somTD_HIPanel_StateChanged)(HIPanel *somSelf, Environment *ev,
HIStateChangeCodeCreator selectorCreator,
HIStateChangeCode changedCode);
typedef void (* SOMLINK somTD_HIPanel_SetClipboardSupportFlags)(HIPanel *somSelf, Environment *ev,
HIClipboardSupportFlags flags);
typedef OSStatus (* SOMLINK somTD_HIPanel_Verify)(HIPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIPanel_somInit)(HIPanel *somSelf);
typedef void (* SOMLINK somTD_HIPanel_somUninit)(HIPanel *somSelf);
typedef SOMObject* (* SOMLINK somTD_HIPanel_somDuplicateReference)(HIPanel *somSelf);
typedef boolean (* SOMLINK somTD_HIPanel_somCompareReference)(HIPanel *somSelf,
SOMObject* anObject);
typedef SOMObject* (* SOMLINK somTD_HIPanel_somRelease)(HIPanel *somSelf);
typedef void (* SOMLINK somTD_HIPanel_somFree)(HIPanel *somSelf);
typedef boolean (* SOMLINK somTD_HIPanel_somCanDelete)(HIPanel *somSelf);
typedef SOMClass* (* SOMLINK somTD_HIPanel_somGetClass)(HIPanel *somSelf);
typedef corbastring (* SOMLINK somTD_HIPanel_somGetClassName)(HIPanel *somSelf);
typedef long (* SOMLINK somTD_HIPanel_somGetSize)(HIPanel *somSelf);
typedef boolean (* SOMLINK somTD_HIPanel_somIsA)(HIPanel *somSelf,
SOMClass* aClassObj);
typedef boolean (* SOMLINK somTD_HIPanel_somRespondsTo)(HIPanel *somSelf,
somId mId);
typedef boolean (* SOMLINK somTD_HIPanel_somIsInstanceOf)(HIPanel *somSelf,
SOMClass* aClassObj);
typedef boolean (* SOMLINK somTD_HIPanel_somDispatch)(HIPanel *somSelf,
somToken* retValue,
somId methodId,
va_list ap);
typedef boolean (* SOMLINK somTD_HIPanel_somClassDispatch)(HIPanel *somSelf,
SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap);
typedef boolean (* SOMLINK somTD_HIPanel_somCastObj)(HIPanel *somSelf,
SOMClass* cls);
typedef boolean (* SOMLINK somTD_HIPanel_somResetObj)(HIPanel *somSelf);
typedef SOMObject* (* SOMLINK somTD_HIPanel_somPrintSelf)(HIPanel *somSelf);
typedef void (* SOMLINK somTD_HIPanel_somDumpSelf)(HIPanel *somSelf,
long level);
typedef void (* SOMLINK somTD_HIPanel_somDumpSelfInt)(HIPanel *somSelf,
long level);
}
#endif /* HIPanel_API */
/*
* -- This emitter treats Method Tokens as Thunks by default.
* -- Use the sc modifier "nothunks" to change this default
*/
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
/*
* -- The C++ Wrapper Class for HIPanel
*/
class HIPanel : public HIObject
{
public:
// HIPanel::new registers use of the class object, and then uses somNew
// to allocate memory and load the object method table pointer.
void *operator new(size_t size)
{
SOM_IgnoreWarning(size);
// Allocate memory using the default allocator for HIPanel, and
// clear mem & set method table pointer, call basic initialization
return (void*) somNewObject(HIPanel);
}
// HIPanel::delete uses the default deallocator for the object's class.
void operator delete(void * obj)
{
if (obj) {
SOM_Resolve(obj,SOMObject,somFree)
( (SOMObject*) obj );
}
}
/* method: GetEmbeddingParent */
HIEmbeddingPanel* GetEmbeddingParent(Environment *ev)
{
return SOM_ResolveD(this,HIPanel,HIPanel,GetEmbeddingParent)
(this,ev);
}
/* method: InitPanel */
OSStatus InitPanel(Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds)
{
return SOM_ResolveD(this,HIPanel,HIPanel,InitPanel)
(this,ev,identifier,window,bounds);
}
/* method: RegisterInterestInAppleEvent */
OSStatus RegisterInterestInAppleEvent(Environment *ev,
AEHandlerTableRef table,
AEEventClass eventClass,
AEEventID eventID,
HIEventRoutingType eventRouting)
{
return SOM_ResolveD(this,HIPanel,HIPanel,RegisterInterestInAppleEvent)
(this,ev,table,eventClass,eventID,eventRouting);
}
/* method: HasValidContent */
boolean HasValidContent(Environment *ev)
{
return SOM_ResolveD(this,HIPanel,HIPanel,HasValidContent)
(this,ev);
}
/* method: GetDeepCollectionItemData */
OSStatus GetDeepCollectionItemData(Environment *ev,
CollectionTag tag,
SInt32 id,
ByteCount sizeAllowed,
ByteCount* sizeReturned,
void* itemData)
{
return SOM_ResolveD(this,HIPanel,HIPanel,GetDeepCollectionItemData)
(this,ev,tag,id,sizeAllowed,sizeReturned,itemData);
}
/*
* -- Inherited methods
*/
/* method: GetWindow */
HIWindow* GetWindow(Environment *ev)
{
return SOM_ResolveD(this,HIPanel,HIObject,GetWindow)
(this,ev);
}
/* method: GetPort */
CGrafPtr GetPort(Environment *ev)
{
return SOM_ResolveD(this,HIPanel,HIObject,GetPort)
(this,ev);
}
/* method: GetRefLabel */
void GetRefLabel(Environment *ev,
RefLabel* identifier)
{
SOM_ResolveD(this,HIPanel,HIObject,GetRefLabel)
(this,ev,identifier);
}
/* method: GetCollection */
Collection GetCollection(Environment *ev)
{
return SOM_ResolveD(this,HIPanel,HIObject,GetCollection)
(this,ev);
}
/* method: Init */
OSStatus Init(Environment *ev,
RefLabel* identifier,
Rect* boundingRect)
{
return SOM_ResolveD(this,HIPanel,HIObject,Init)
(this,ev,identifier,boundingRect);
}
/* method: Terminate */
void Terminate(Environment *ev)
{
SOM_ResolveD(this,HIPanel,HIObject,Terminate)
(this,ev);
}
/* method: Clone */
HIObject* Clone(Environment *ev)
{
return SOM_ResolveD(this,HIPanel,HIObject,Clone)
(this,ev);
}
/* method: Release */
void Release(Environment *ev)
{
SOM_ResolveD(this,HIPanel,HIObject,Release)
(this,ev);
}
/* method: GetOwnerCount */
ItemCount GetOwnerCount(Environment *ev)
{
return SOM_ResolveD(this,HIPanel,HIObject,GetOwnerCount)
(this,ev);
}
/* method: InitFromAERecord */
OSStatus InitFromAERecord(Environment *ev,
AESubDesc* baseInitializerData,
AESubDesc* initializerDataForClass,
HIAERecordDataFormat dataFormat)
{
return SOM_ResolveD(this,HIPanel,HIObject,InitFromAERecord)
(this,ev,baseInitializerData,initializerDataForClass,dataFormat);
}
/* method: WriteToAERecord */
OSStatus WriteToAERecord(Environment *ev,
AERecord* dataForSubclass,
AERecord* objectData,
HIAERecordDataFormat dataFormat)
{
return SOM_ResolveD(this,HIPanel,HIObject,WriteToAERecord)
(this,ev,dataForSubclass,objectData,dataFormat);
}
/* method: CalculateOptimalSize */
void CalculateOptimalSize(Environment *ev,
SInt16* optimalWidth,
SInt16* optimalHeight)
{
SOM_ResolveD(this,HIPanel,HIObject,CalculateOptimalSize)
(this,ev,optimalWidth,optimalHeight);
}
/* method: GetBoundingRect */
void GetBoundingRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* boundingRect)
{
SOM_ResolveD(this,HIPanel,HIObject,GetBoundingRect)
(this,ev,coordinate,boundingRect);
}
/* method: SetBoundingRect */
void SetBoundingRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* newBoundingRect)
{
SOM_ResolveD(this,HIPanel,HIObject,SetBoundingRect)
(this,ev,coordinate,newBoundingRect);
}
/* method: SetPosition */
void SetPosition(Environment *ev,
HICoordinateSystem coordinate,
Point* newPosition)
{
SOM_ResolveD(this,HIPanel,HIObject,SetPosition)
(this,ev,coordinate,newPosition);
}
/* method: SetSize */
void SetSize(Environment *ev,
SInt16 width,
SInt16 height)
{
SOM_ResolveD(this,HIPanel,HIObject,SetSize)
(this,ev,width,height);
}
/* method: GetUpdateRect */
void GetUpdateRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* updateRect)
{
SOM_ResolveD(this,HIPanel,HIObject,GetUpdateRect)
(this,ev,coordinate,updateRect);
}
/* method: Enable */
void Enable(Environment *ev)
{
SOM_ResolveD(this,HIPanel,HIObject,Enable)
(this,ev);
}
/* method: Disable */
void Disable(Environment *ev)
{
SOM_ResolveD(this,HIPanel,HIObject,Disable)
(this,ev);
}
/* method: IsEnabled */
boolean IsEnabled(Environment *ev)
{
return SOM_ResolveD(this,HIPanel,HIObject,IsEnabled)
(this,ev);
}
/* method: Show */
void Show(Environment *ev)
{
SOM_ResolveD(this,HIPanel,HIObject,Show)
(this,ev);
}
/* method: Hide */
void Hide(Environment *ev)
{
SOM_ResolveD(this,HIPanel,HIObject,Hide)
(this,ev);
}
/* method: IsVisible */
boolean IsVisible(Environment *ev)
{
return SOM_ResolveD(this,HIPanel,HIObject,IsVisible)
(this,ev);
}
/* method: HandleAppleEvent */
OSStatus HandleAppleEvent(Environment *ev,
AEEventClass eventClass,
AEEventID eventID,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIPanel,HIObject,HandleAppleEvent)
(this,ev,eventClass,eventID,theEvent,reply,handlerTableRef);
}
/* method: HandleActivate */
OSStatus HandleActivate(Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIPanel,HIObject,HandleActivate)
(this,ev,theEvent,reply,handlerTableRef);
}
/* method: HandleDeactivate */
OSStatus HandleDeactivate(Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIPanel,HIObject,HandleDeactivate)
(this,ev,theEvent,reply,handlerTableRef);
}
/* method: HandleNavigation */
OSStatus HandleNavigation(Environment *ev,
SInt8 key,
SInt8 keyCode,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIPanel,HIObject,HandleNavigation)
(this,ev,key,keyCode,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseDownInContent */
OSStatus HandleMouseDownInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIPanel,HIObject,HandleMouseDownInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseMovedInContent */
OSStatus HandleMouseMovedInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIPanel,HIObject,HandleMouseMovedInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseStoppedMovingInContent */
OSStatus HandleMouseStoppedMovingInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIPanel,HIObject,HandleMouseStoppedMovingInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseUpInContent */
OSStatus HandleMouseUpInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIPanel,HIObject,HandleMouseUpInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: TakeUserInputFocus */
void TakeUserInputFocus(Environment *ev)
{
SOM_ResolveD(this,HIPanel,HIObject,TakeUserInputFocus)
(this,ev);
}
/* method: ReleaseUserInputFocus */
void ReleaseUserInputFocus(Environment *ev)
{
SOM_ResolveD(this,HIPanel,HIObject,ReleaseUserInputFocus)
(this,ev);
}
/* method: HasUserInputFocus */
boolean HasUserInputFocus(Environment *ev)
{
return SOM_ResolveD(this,HIPanel,HIObject,HasUserInputFocus)
(this,ev);
}
/* method: CanReleaseUserInputFocus */
boolean CanReleaseUserInputFocus(Environment *ev)
{
return SOM_ResolveD(this,HIPanel,HIObject,CanReleaseUserInputFocus)
(this,ev);
}
/* method: SetUserInputFocusFlags */
void SetUserInputFocusFlags(Environment *ev,
HIUserInputFocusFlags flags)
{
SOM_ResolveD(this,HIPanel,HIObject,SetUserInputFocusFlags)
(this,ev,flags);
}
/* method: GetUserInputFocusFlags */
HIUserInputFocusFlags GetUserInputFocusFlags(Environment *ev)
{
return SOM_ResolveD(this,HIPanel,HIObject,GetUserInputFocusFlags)
(this,ev);
}
/* method: SetTitle */
OSStatus SetTitle(Environment *ev,
ConstHIImageRef title,
HIAdoptionFlags disposalAdoptionFlags)
{
return SOM_ResolveD(this,HIPanel,HIObject,SetTitle)
(this,ev,title,disposalAdoptionFlags);
}
/* method: GetTitle */
OSStatus GetTitle(Environment *ev,
HIImageRef* title)
{
return SOM_ResolveD(this,HIPanel,HIObject,GetTitle)
(this,ev,title);
}
/* method: Draw */
void Draw(Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn)
{
SOM_ResolveD(this,HIPanel,HIObject,Draw)
(this,ev,whichPort,drawRgn);
}
/* method: Erase */
void Erase(Environment *ev,
CGrafPtr whichPort,
RgnHandle eraseRgn)
{
SOM_ResolveD(this,HIPanel,HIObject,Erase)
(this,ev,whichPort,eraseRgn);
}
/* method: Invalidate */
void Invalidate(Environment *ev)
{
SOM_ResolveD(this,HIPanel,HIObject,Invalidate)
(this,ev);
}
/* method: GetDrawingMode */
HIDrawingMode GetDrawingMode(Environment *ev)
{
return SOM_ResolveD(this,HIPanel,HIObject,GetDrawingMode)
(this,ev);
}
/* method: SetDrawingMode */
void SetDrawingMode(Environment *ev,
HIDrawingMode drawingMode)
{
SOM_ResolveD(this,HIPanel,HIObject,SetDrawingMode)
(this,ev,drawingMode);
}
/* method: SetBackgroundPattern */
void SetBackgroundPattern(Environment *ev,
PixPatHandle backgroundPattern)
{
SOM_ResolveD(this,HIPanel,HIObject,SetBackgroundPattern)
(this,ev,backgroundPattern);
}
/* method: GetBackgroundPattern */
PixPatHandle GetBackgroundPattern(Environment *ev)
{
return SOM_ResolveD(this,HIPanel,HIObject,GetBackgroundPattern)
(this,ev);
}
/* method: Cut */
void Cut(Environment *ev)
{
SOM_ResolveD(this,HIPanel,HIObject,Cut)
(this,ev);
}
/* method: Copy */
void Copy(Environment *ev)
{
SOM_ResolveD(this,HIPanel,HIObject,Copy)
(this,ev);
}
/* method: Paste */
void Paste(Environment *ev)
{
SOM_ResolveD(this,HIPanel,HIObject,Paste)
(this,ev);
}
/* method: Clear */
void Clear(Environment *ev)
{
SOM_ResolveD(this,HIPanel,HIObject,Clear)
(this,ev);
}
/* method: GetClipboardSupportFlags */
HIClipboardSupportFlags GetClipboardSupportFlags(Environment *ev)
{
return SOM_ResolveD(this,HIPanel,HIObject,GetClipboardSupportFlags)
(this,ev);
}
/* method: AddStateChangeCallback */
OSStatus AddStateChangeCallback(Environment *ev,
HIStateChangeCallbackProcPtr changedStateCallback,
HIStateChangeCallbackRef* newCallbackRef)
{
return SOM_ResolveD(this,HIPanel,HIObject,AddStateChangeCallback)
(this,ev,changedStateCallback,newCallbackRef);
}
/* method: RemoveStateChangeCallback */
OSStatus RemoveStateChangeCallback(Environment *ev,
HIStateChangeCallbackRef callbackRefToRemove)
{
return SOM_ResolveD(this,HIPanel,HIObject,RemoveStateChangeCallback)
(this,ev,callbackRefToRemove);
}
/* noself procedure: GetHIObjectFromRefLabel */
static OSStatus GetHIObjectFromRefLabel(Environment *ev,
RefLabel* identifier,
ItemCount requestedObjects,
ItemCount* totalObjects,
HIObject** theObjects)
{
return ((somTD_HIPanel_GetHIObjectFromRefLabel)HIObjectClassData.GetHIObjectFromRefLabel)
(ev,identifier,requestedObjects,totalObjects,theObjects);
}
/* noself procedure: GetNewHIObject */
static OSStatus GetNewHIObject(Environment *ev,
AESubDesc* objectInitializer,
HIObject** newObject)
{
return ((somTD_HIPanel_GetNewHIObject)HIObjectClassData.GetNewHIObject)
(ev,objectInitializer,newObject);
}
/* noself procedure: GetNewHIObjectFromResource */
static OSStatus GetNewHIObjectFromResource(Environment *ev,
ResID objectInitializerResourceID,
HIObject** newObject)
{
return ((somTD_HIPanel_GetNewHIObjectFromResource)HIObjectClassData.GetNewHIObjectFromResource)
(ev,objectInitializerResourceID,newObject);
}
/* method: DrawContent */
void DrawContent(Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn)
{
SOM_ResolveD(this,HIPanel,HIObject,DrawContent)
(this,ev,whichPort,drawRgn);
}
/* method: EraseContent */
void EraseContent(Environment *ev,
CGrafPtr whichPort,
RgnHandle regionToErase)
{
SOM_ResolveD(this,HIPanel,HIObject,EraseContent)
(this,ev,whichPort,regionToErase);
}
/* method: TranslatePoint */
void TranslatePoint(Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Point* sourcePoint,
Point* translatedPoint)
{
SOM_ResolveD(this,HIPanel,HIObject,TranslatePoint)
(this,ev,translateFrom,translateTo,sourcePoint,translatedPoint);
}
/* method: TranslateRect */
void TranslateRect(Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Rect* sourceRect,
Rect* translatedRect)
{
SOM_ResolveD(this,HIPanel,HIObject,TranslateRect)
(this,ev,translateFrom,translateTo,sourceRect,translatedRect);
}
/* method: StateChanged */
void StateChanged(Environment *ev,
HIStateChangeCodeCreator selectorCreator,
HIStateChangeCode changedCode)
{
SOM_ResolveD(this,HIPanel,HIObject,StateChanged)
(this,ev,selectorCreator,changedCode);
}
/* method: SetClipboardSupportFlags */
void SetClipboardSupportFlags(Environment *ev,
HIClipboardSupportFlags flags)
{
SOM_ResolveD(this,HIPanel,HIObject,SetClipboardSupportFlags)
(this,ev,flags);
}
/* method: Verify */
OSStatus Verify(Environment *ev)
{
return SOM_ResolveD(this,HIPanel,HIObject,Verify)
(this,ev);
}
/* method: somInit */
void somInit()
{
SOM_ResolveD(this,HIPanel,SOMObject,somInit)
(this);
}
/* method: somUninit */
void somUninit()
{
SOM_ResolveD(this,HIPanel,SOMObject,somUninit)
(this);
}
/* method: somDuplicateReference */
SOMObject* somDuplicateReference()
{
return SOM_ResolveD(this,HIPanel,SOMObject,somDuplicateReference)
(this);
}
/* method: somCompareReference */
boolean somCompareReference(SOMObject* anObject)
{
return SOM_ResolveD(this,HIPanel,SOMObject,somCompareReference)
(this,anObject);
}
/* method: somRelease */
SOMObject* somRelease()
{
return SOM_ResolveD(this,HIPanel,SOMObject,somRelease)
(this);
}
/* method: somFree */
void somFree()
{
SOM_ResolveD(this,HIPanel,SOMObject,somFree)
(this);
}
/* method: somCanDelete */
boolean somCanDelete()
{
return SOM_ResolveD(this,HIPanel,SOMObject,somCanDelete)
(this);
}
/* method: somGetClass */
SOMClass* somGetClass()
{
return SOM_ResolveD(this,HIPanel,SOMObject,somGetClass)
(this);
}
/* method: somGetClassName */
corbastring somGetClassName()
{
return SOM_ResolveD(this,HIPanel,SOMObject,somGetClassName)
(this);
}
/* method: somGetSize */
long somGetSize()
{
return SOM_ResolveD(this,HIPanel,SOMObject,somGetSize)
(this);
}
/* method: somIsA */
boolean somIsA(SOMClass* aClassObj)
{
return SOM_ResolveD(this,HIPanel,SOMObject,somIsA)
(this,aClassObj);
}
/* method: somRespondsTo */
boolean somRespondsTo(somId mId)
{
return SOM_ResolveD(this,HIPanel,SOMObject,somRespondsTo)
(this,mId);
}
/* method: somIsInstanceOf */
boolean somIsInstanceOf(SOMClass* aClassObj)
{
return SOM_ResolveD(this,HIPanel,SOMObject,somIsInstanceOf)
(this,aClassObj);
}
/* va_list method: somDispatch */
/* the va_list invocation form */
boolean HIPanel_somDispatch(somToken* retValue,
somId methodId,
va_list ap)
{
return SOM_ResolveD(this,HIPanel,SOMObject,somDispatch)
(this,retValue,methodId,ap);
}
/* the varargs invocation form */
boolean somDispatch(somToken* retValue,
somId methodId,
...)
{
va_list ap;
va_start(ap, methodId);
boolean __somResult =
(boolean) SOM_ResolveD(this,HIPanel,SOMObject,somDispatch)
(this,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* va_list method: somClassDispatch */
/* the va_list invocation form */
boolean HIPanel_somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap)
{
return SOM_ResolveD(this,HIPanel,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
}
/* the varargs invocation form */
boolean somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
...)
{
va_list ap;
va_start(ap, methodId);
boolean __somResult =
(boolean) SOM_ResolveD(this,HIPanel,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* method: somCastObj */
boolean somCastObj(SOMClass* cls)
{
return SOM_ResolveD(this,HIPanel,SOMObject,somCastObj)
(this,cls);
}
/* method: somResetObj */
boolean somResetObj()
{
return SOM_ResolveD(this,HIPanel,SOMObject,somResetObj)
(this);
}
/* method: somPrintSelf */
SOMObject* somPrintSelf()
{
return SOM_ResolveD(this,HIPanel,SOMObject,somPrintSelf)
(this);
}
/* method: somDumpSelf */
void somDumpSelf(long level)
{
SOM_ResolveD(this,HIPanel,SOMObject,somDumpSelf)
(this,level);
}
/* method: somDumpSelfInt */
void somDumpSelfInt(long level)
{
SOM_ResolveD(this,HIPanel,SOMObject,somDumpSelfInt)
(this,level);
}
}; /* HIPanel */
#endif /* SOM_HIPanel_xh */